ComponentOne FlexGrid for UWP
C1.UWP Assembly / C1.Xaml Namespace / C1PropertyPathHelper Class / CreateSelector Method / CreateSelector<X>(Type,String) Method
The type of the objects that will be passed to the resulting function.
The path that will be evaluated.

In This Topic
    CreateSelector<X>(Type,String) Method
    In This Topic
    Creates a function that when called execute the path expression over the specified object.
    Syntax
    'Declaration
     
    
    Public Overloads Shared Function CreateSelector(Of X)( _
       ByVal type As Type, _
       ByVal path As String _
    ) As Func(Of Object,X)
    public static Func<object,X> CreateSelector<X>( 
       Type type,
       string path
    )

    Parameters

    type
    The type of the objects that will be passed to the resulting function.
    path
    The path that will be evaluated.

    Type Parameters

    X
    Remarks
    The object type passed in the resulting function must be the same as the specified in this method, otherwise an exception will be thrown.
    See Also